<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class WeddingDress extends Model
{
    use HasFactory;
    public $table = 'wedding_dresses';
    protected $primaryKey = 'dressid';
    public $timestamps = false;
    protected $guarded = [];

    public function WeddingDressType()
    {
        return $this->belongsTo(WeddingDressType::class,'typeid','typeid');
    }
}
